package com.indusfo.spc.client.mapper;

import com.indusfo.spc.pojo.Pallet;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author chenm
 * @create 2019-12-09 20:01
 */
public interface ClientPalletMapper {

  List<Pallet> selectList(Pallet pallet);

  int selectCount(Pallet pallet);

  Pallet selectByPallentCode(@Param("palletCode") String palletCode);

  int updatePallent(Pallet pallet);

  int Untying(@Param("palletId") Integer palletId);
  
  Integer selectPalletIdByBatchId(@Param("batchId") Integer batchId);
}
